package com.feature.shop.front.product.model.entity;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableName;

/***
 * @Description:任务追踪表 entity
 * @author wangzhiyue
 * @date 2025-06-10 10:01:24
 * 
 */
@TableName("shop_task_tracking")
public class ShopTaskTrackingEntity {

    /***
     * id
     */
    private Integer id;

    /***
     * 任务编号
     */
    private String taskNo;

    /***
     * 业务实体id
     */
    private String businessId;

    /***
     * 类型 0-入库单更新库存 1-入库单入库成功
     */
    private Integer type;

    /***
     * 0-处理中 1-处理成功 2-处理失败
     */
    private Integer status;

    /***
     * 任务数据 json格式
     */
    private String taskData;

    /***
     * 备注
     */
    private String remark;

    /***
     * 创建时间
     */
    private Date beginTime;
    /***
     * 创建时间
     */
    private Date timeoutTime;
    
    /***
     * 创建时间
     */
    private Date createTime;
    

    /***
     * 创建人
     */
    private Integer createUser;

    /***
     * 修改时间
     */
    private Date updateTime;

    /***
     * 修改人
     */
    private Integer updateUser;
    private Integer parentTaskId;
    private Integer rootTaskId;
    private String taskCallback;

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getId() {
        return id;
    }

    public void setTaskNo(String taskNo) {
        this.taskNo = taskNo;
    }

    public String getTaskNo() {
        return taskNo;
    }

    public void setBusinessId(String businessId) {
        this.businessId = businessId;
    }

    public String getBusinessId() {
        return businessId;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getType() {
        return type;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getStatus() {
        return status;
    }

    public void setTaskData(String taskData) {
        this.taskData = taskData;
    }

    public String getTaskData() {
        return taskData;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getRemark() {
        return remark;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateUser(Integer createUser) {
        this.createUser = createUser;
    }

    public Integer getCreateUser() {
        return createUser;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateUser(Integer updateUser) {
        this.updateUser = updateUser;
    }

    public Integer getUpdateUser() {
        return updateUser;
    }

    public Integer getRootTaskId() {
        return rootTaskId;
    }

    public void setRootTaskId(Integer rootTaskId) {
        this.rootTaskId = rootTaskId;
    }

    public Integer getParentTaskId() {
        return parentTaskId;
    }

    public void setParentTaskId(Integer parentTaskId) {
        this.parentTaskId = parentTaskId;
    }

    public String getTaskCallback() {
        return taskCallback;
    }

    public void setTaskCallback(String taskCallback) {
        this.taskCallback = taskCallback;
    }

    public Date getBeginTime() {
        return beginTime;
    }

    public void setBeginTime(Date beginTime) {
        this.beginTime = beginTime;
    }

    public Date getTimeoutTime() {
        return timeoutTime;
    }

    public void setTimeoutTime(Date timeoutTime) {
        this.timeoutTime = timeoutTime;
    }

}
